package se.jayway.millionaire.model.game;

/**
 * Represent the choice in a single game round for a single player.
 */
public interface PlayerChoice {
	GameSession getGameSession();
	
	GameRound getGameRound();

	/**
	 * Sets the answer from the player. This method can only be called 
	 * once-and-only-once.
	 * 
	 * @param answer The choosen answer. The answer must be one of the answers
	 *               available for the question located in the game round.
	 */
	void setPlayerAnswer(Answer answer);

	Answer getPlayerAnswer();
}
